//
//  PMViewController.h
//  Anyair
//
//  Created by karlcool on 14-5-14.
//  Copyright (c) 2014年 Karlcool. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CenterTabBar.h"
#import "ShareBoard.h"
#import "DetectionViewController.h"
#import "RimViewController.h"
#import "HistoryViewController.h"
#import "CO2HistoryViewController.h"

@interface PMViewController : UIViewController<TopBarDelegate,CenterTabbarDelegate,ShareDelegate> {
    UIViewController *currentViewController;
    UIView *childView;
    int viewTag;
    int dataType;//0为PM2.5 2为甲醛 1为缺氧
    
    DetectionViewController *detection;//数据主界面
    ShareBoard *shareView;//分享界面
    RimViewController *rim;//周边界面
    HistoryViewController *history;//历史数据界面
    CO2HistoryViewController *co2History;
    
}

- (id)initWithType:(int)type;
@end
